package com.hospital.pet.love.lovepethospital.dto.consumer;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * @author RoselleShaw
 * @create 2024-04-19 16:20
 */
@Data
@Schema(description = "宠物资料添加/修改 Dto")
public class PetInfoDto {

    @Schema(description = "宠物id，有就是修改，没有就是添加", requiredMode = Schema.RequiredMode.AUTO)
    private Integer petId;
    @Schema(description = "类型", requiredMode = Schema.RequiredMode.REQUIRED)
    private String type;
    @Schema(description = "年龄", requiredMode = Schema.RequiredMode.REQUIRED)
    private Integer petAge;
    @Schema(description = "性别", requiredMode = Schema.RequiredMode.REQUIRED)
    private String petGender;
    @Schema(description = "主人姓名", requiredMode = Schema.RequiredMode.REQUIRED)
    private String name;

}
